package com.allenkerr.common;

/**
 * @author 小柯
 * @date 2018/3/15
 */
public enum StatusEnum {

  UNMARRIED(0, "未婚"),
  MARRIED(1, "已婚"),
  DIVORCED(2, "离异"),;

  private int code;
  private String desc;

  StatusEnum(int code, String desc) {
    this.code = code;
    this.desc = desc;
  }

  public int getCode() {
    return code;
  }

  public String getDesc() {
    return desc;
  }
}
